Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
Insert Method
See Also 
Leadtools Namespace > Generic RasterCollection Class : Insert Method




index
Index at which to insert the item.
item
Item to insert.
Inserts the specified item at the specified index.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Insert( _
   ByVal index As Integer, _
   ByVal item As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim index As Integer
Dim item As T
 
instance.Insert(index, item)
C# 
public virtual void Insert( 
   int index,
   T item
)
Managed Extensions for C++ 
public: virtual void Insert( 
   int index,
   T item
) 
C++/CLI 
public:
virtual void Insert( 
   int index,
   T item
) 

Parameters

index
Index at which to insert the item.
item
Item to insert.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also